package model.service;



public class UserAccount {
	public static final String TYPE_NAME_CUSTOMER = "klient";
	public static final String TYPE_NAME_EMPLOYEE = "tootaja";
	
	//võib olla sel juhul kui tegemist customeriga
	private Enterprise enterprise;
	
	//alati employee puhul kui ka customeri puhul
	private Person person;
	
	private int subjectFk;
	
	//tüübi nimetus
	private String userAccountType;
	
	
	private String userName;
	
	
	private int userAccount;

	public void setEnterprise(Enterprise enterprise) {
		this.enterprise = enterprise;
	}

	public Enterprise getEnterprise() {
		return enterprise;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public Person getPerson() {
		return person;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserAccount(int userAccount) {
		this.userAccount = userAccount;
	}

	public int getUserAccount() {
		return userAccount;
	}

	public void setUserAccountType(String userAccountType) {
		this.userAccountType = userAccountType;
	}

	public String getUserAccountType() {
		return userAccountType;
	}


	public void setSubjectFk(int subjectFk) {
		this.subjectFk = subjectFk;
	}

	public int getSubjectFk() {
		return subjectFk;
	}

}
